#define __SBUS_CORE_C__

#include "sbus_udp.h"
#include "sbus_list.h"
#include "sbus_core.h"


void sbus_init(unsigned int id, unsigned int ps, char *name)
{
	sbusinfo.id = id;
	sbusinfo.ps = ps;
	memcpy(sbusinfo.name, name, sizeof(sbusinfo.name));
	
	sbus_udp_init();
}

